-- Decompiled with the Synapse X Luau decompiler.

local l__CommonOHOH__1 = _G.CommonOHOH;
local u1 = l__CommonOHOH__1.class.new(script, l__CommonOHOH__1.files.GameObject());
function u1.new(p1, p2, p3, p4)
	assert(p1, "param constraint_string | instance is nil");
	local v2 = nil;
	if type(p1) == "string" then
		local u2 = v2;
		xpcall(function()
			u2 = Instance.new(p1, p2);
		end, function(p5)
			warn(p5);
		end);
	else
		v2 = p1;
	end;
	if p3 and not p3:IsA("Attachment") then
		warn("param attachment0 is not an Attachment");
	end;
	if p4 and not p4:IsA("Attachment") then
		warn("param attachment1 is not an Attachment");
	end;
	v2.Attachment0 = p3;
	v2.Attachment1 = p4;
	return u1(v2);
end;
local function u3(p6, p7, p8)
	if p7 and not p7:IsA("BasePart") then
		warn("param part0 is not a BasePart");
	end;
	if p8 and not p8:IsA("BasePart") then
		warn("param part1 is not a BasePart");
	end;
	local u4 = nil;
	xpcall(function()
		u4 = Instance.new("WeldConstraint", p6);
	end, function(p9)
		warn(p9);
	end);
	u4.Part0 = p7;
	u4.Part1 = p8;
	return nil;
end;
function u1.WeldParts(p10, p11, p12, p13)
	return u3(p11, p12, p13);
end;
function u1.ctor(p14, p15)
	u1.super.ctor(p14, p15);
end;
function u1.dtor(p16)
	u1.super.dtor(p16);
end;
return u1;
